/* 
 * File:   User.cpp
 * Author: edwin
 *
 * 
 */

#include "User.h"

User::User()
{
	user_id = "999";
	user_name = "unassigned";
	user_password = "password";
	user_role = "unassigned";
}

User::User(string usrid, string usrname, string usrpassword, string usrrole)
{
	user_id = usrid;
	user_name = usrname;
	user_password = usrpassword;
	user_role = usrrole;

}

string User::getUserId()
{
	return user_id;
}

string User::getUserName()
{
	return user_name;
}

string User::getUserPassword()
{
	return user_password;
}

string User::getUserRole()
{
	return user_role;
}

void User::setUserId(string usrid)
{
	user_id = usrid;
}

void User::setUserName(string usrname)
{
	user_name = usrname;
}

void User::setUserPassword(string usrpassword)
{
	user_password = usrpassword;
}

void User::setUserRole(string usrrole)
{
	user_role = usrrole;
}